package models
type ClassLog struct {
	Id       int64	`json:"id"`
	Action   string `json:"action"`
	Uid      int	`json:"uid"`
	Classid  int	`json:"classid"`
	Teaid    int	`json:"teaid"`
	Stuid    int	`json:"stuid"`
	Ts       string	`json:"ts"`
	Note     string `json:"note"`
	Roomid   string `json:"roomid"`
	Traceid  string `json:"traceid"`
	Bookid   string `json:"bookid"`
	Schoolid int	`json:"schoolid"`
	Usetime  int	`json:"usetime"`
	Subtype  string `json:"subtype"`
	Uname    string `json:"uname"`
}
type Student struct{
	Stuid int    `json:"stuid"`
	Score int    `json:"score"`
}
type TeachedResult struct{
	Name	string	`json:"name"`
	Num		int	`json:"num"`
	Avg_TeachingTime	int	`json:"avg_teachtime"`
}
type TeacherTime struct {
	Name 		string 	`json:"name"`
	TeacherTime 	int		`json:"teachtime"`
}
type TeachingRate struct {
	Uname 	string `json:"uname"`
	Uid		int		`json:"uid"`
	Teachcount	int	`json:"teachcount"`
}

type TeacherData struct {
	Uname string 	`json:"uname"`
	Uid   int		`json:"uid"`
	ClassTimes	int `json:"class_times"`
	ClassCount	int `json:"class_count"`
	PreClassTimes	int	`json:"preclass_times"`
	PreClassCount	int`json:"preclass_count"`
}


